import type { App } from 'vue'
import { createPinia } from 'pinia'

const store = createPinia()

export function setupStore(app: App<Element>) {
    app.use(store)
}

export * from './modules/auth/index'
export * from './modules/layout/index'
export * from './modules/socket/index'
export { store }
